export default class parentInstance {
  constructor() {
    
  }

  getHierPoint(item,model) {
    let point = {};
    let tem = +new Date();
    point["id"] = tem + item.className + String(item.id);
    point["parentId"] = "root";
    point["model"] = model;
    point["name"] = tem + item.className + item.id;
    point["title"] = tem + item.className + item.id;
    point["pointer"] = {
      id: String(item.id),
      type: item.type,
      className: item.className,
    };
    point["values"] = item.values;
    return point;
  }  
}